package com.lyj.system.domain.question.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-08-18
 * Time: 21:47
 */
@Getter
@Setter
public class QuestionDetailVO {

    @JsonSerialize(using = ToStringSerializer.class)
    //将 Long 类型的 questionId 转换为字符串（String）类型后再进行序列化
    private Long questionId;

    private String title;

    private Integer difficulty;

    private Long timeLimit;

    private Long spaceLimit;

    private String content;

    private String questionCase;

    private String defaultCode;

    private String mainFuc;
}